import Vue from "vue"
import Vuex from "vuex"
import mycart from './cart.js'
import user from './user.js'
// 使用vuex插件
Vue.use(Vuex)

// 创建Store实例对象
export default new Vuex.Store({
	modules: {
		mycart,
		user
	},
})